package com.medata.service.impl;

import com.medata.dataObject.ValueRef;
import com.medata.repository.ValueRefRepository;
import com.medata.service.ValueRefService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：zb
 * @date ：Created in 2019/5/10 0010 9:05
 * @description：
 */
@Service
public class ValueRefServiceImpl implements ValueRefService {
    @Autowired
    private ValueRefRepository valueRefRepository;

    @Override
    public List<ValueRef> findByFaRefID(Integer FaRefID) {
        List<ValueRef> valuerefs = valueRefRepository.findByFaRefID(FaRefID);
        return valuerefs;
    }
}
